package com.gopay.common.cps.dao.trans;


import com.gopay.common.base.dao.BaseReadDAO;
import com.gopay.common.domain.cps.CpsReceiptSplitDtl;

import java.util.List;


/**
 * @author baiyunpeng
 */
public interface CpsReceiptSplitDtlQueryDAO extends BaseReadDAO<CpsReceiptSplitDtl,String> {


    /**
     * 根据国付宝订单号返回明细信息
     * @param gopayOrderId
     * @return
     */
    List<CpsReceiptSplitDtl> queryDtlsByGopayOrderId(String gopayOrderId);

    /**
     * 根据国付宝订单号返回平台方明细信息
     * @param gopayOrderId
     * @return
     */
    CpsReceiptSplitDtl queryPlatformDtlsByGopayOrderId(String gopayOrderId);

    /**
     * 根据网关订单号及分账放账号查询分账明细
     * @author yhwpeng@126.com
     * @date 2018-03-14 14:45:26
     * @params
     * @param mainGopayOrderId :
     * @param splitAcct :
     * @return com.gopay.common.domain.cps.CpsReceiptSplitDtl
     */
    CpsReceiptSplitDtl queryByMainOrderIdAndSplitAcct(String mainGopayOrderId,String splitAcct);

}
